package com.wuliu.common.core.domain.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.wuliu.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.wuliu.common.core.domain.BaseEntity;

/**
 * 微信用户对象 bas_cust
 *
 * @author realue
 * @date 2023-11-05
 */
@ApiModel
public class BasCust extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    @ApiModelProperty(value = "${comment}")
    private String id;

    /** 用户编号 */
    @ApiModelProperty(value = "${comment}")
    private Integer custNo;

    /** 登录账号 */
    @Excel(name = "登录账号")
    @ApiModelProperty(value = "登录账号")
    private String loginNo;

    /** 用户名 */
    @Excel(name = "用户名")
    @ApiModelProperty(value = "用户名")
    private String custName;

    /** 昵称 */
    @Excel(name = "昵称")
    @ApiModelProperty(value = "昵称")
    private String nickName;

    /** 手机号 */
    @Excel(name = "手机号")
    @ApiModelProperty(value = "手机号")
    private String mobile;

    /** 密码 */
    @Excel(name = "密码")
    @ApiModelProperty(value = "密码")
    private String password;

    /** 电子邮箱 */
    @Excel(name = "电子邮箱")
    @ApiModelProperty(value = "电子邮箱")
    private String email;

    /** 公众号openId */
    @Excel(name = "公众号openId")
    @ApiModelProperty(value = "公众号openId")
    private String publicOpenId;

    /** 小程序openId */
    @Excel(name = "小程序openId")
    @ApiModelProperty(value = "小程序openId")
    private String appletOpenId;

    /**  */
    @Excel(name = "")
    @ApiModelProperty(value = "")
    private String unionId;

    /** 头像 */
    @Excel(name = "头像")
    @ApiModelProperty(value = "头像")
    private String avatar;

    /** 性别 【0 女 1 男 2 未知】 */
    @Excel(name = "性别 【0 女 1 男 2 未知】")
    @ApiModelProperty(value = "性别 【0 女 1 男 2 未知】")
    private Integer sex;

    /** 省份 */
    @Excel(name = "省份")
    @ApiModelProperty(value = "省份")
    private String province;

    /** 城市 */
    @Excel(name = "城市")
    @ApiModelProperty(value = "城市")
    private String city;

    /** 区/县 */
    @Excel(name = "区/县")
    @ApiModelProperty(value = "区/县")
    private String district;

    /** 街道 */
    @Excel(name = "街道")
    @ApiModelProperty(value = "街道")
    private String street;

    /** 详细地址 */
    @Excel(name = "详细地址")
    @ApiModelProperty(value = "详细地址")
    private String address;

    /** 数据更新版本 */
    @Excel(name = "数据更新版本")
    @ApiModelProperty(value = "数据更新版本")
    private Integer version;

    /** 账套号 */
    @Excel(name = "账套号")
    @ApiModelProperty(value = "账套号")
    private String sysAccount;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setCustNo(Integer custNo)
    {
        this.custNo = custNo;
    }

    public Integer getCustNo()
    {
        return custNo;
    }
    public void setLoginNo(String loginNo)
    {
        this.loginNo = loginNo;
    }

    public String getLoginNo()
    {
        return loginNo;
    }
    public void setCustName(String custName)
    {
        this.custName = custName;
    }

    public String getCustName()
    {
        return custName;
    }
    public void setNickName(String nickName)
    {
        this.nickName = nickName;
    }

    public String getNickName()
    {
        return nickName;
    }
    public void setMobile(String mobile)
    {
        this.mobile = mobile;
    }

    public String getMobile()
    {
        return mobile;
    }
    public void setPassword(String password)
    {
        this.password = password;
    }

    public String getPassword()
    {
        return password;
    }
    public void setEmail(String email)
    {
        this.email = email;
    }

    public String getEmail()
    {
        return email;
    }
    public void setPublicOpenId(String publicOpenId)
    {
        this.publicOpenId = publicOpenId;
    }

    public String getPublicOpenId()
    {
        return publicOpenId;
    }
    public void setAppletOpenId(String appletOpenId)
    {
        this.appletOpenId = appletOpenId;
    }

    public String getAppletOpenId()
    {
        return appletOpenId;
    }
    public void setUnionId(String unionId)
    {
        this.unionId = unionId;
    }

    public String getUnionId()
    {
        return unionId;
    }
    public void setAvatar(String avatar)
    {
        this.avatar = avatar;
    }

    public String getAvatar()
    {
        return avatar;
    }
    public void setSex(Integer sex)
    {
        this.sex = sex;
    }

    public Integer getSex()
    {
        return sex;
    }
    public void setProvince(String province)
    {
        this.province = province;
    }

    public String getProvince()
    {
        return province;
    }
    public void setCity(String city)
    {
        this.city = city;
    }

    public String getCity()
    {
        return city;
    }
    public void setDistrict(String district)
    {
        this.district = district;
    }

    public String getDistrict()
    {
        return district;
    }
    public void setStreet(String street)
    {
        this.street = street;
    }

    public String getStreet()
    {
        return street;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setVersion(Integer version)
    {
        this.version = version;
    }

    public Integer getVersion()
    {
        return version;
    }
    public void setSysAccount(String sysAccount)
    {
        this.sysAccount = sysAccount;
    }

    public String getSysAccount()
    {
        return sysAccount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("custNo", getCustNo())
                .append("loginNo", getLoginNo())
                .append("custName", getCustName())
                .append("nickName", getNickName())
                .append("mobile", getMobile())
                .append("password", getPassword())
                .append("email", getEmail())
                .append("publicOpenId", getPublicOpenId())
                .append("appletOpenId", getAppletOpenId())
                .append("unionId", getUnionId())
                .append("avatar", getAvatar())
                .append("sex", getSex())
                .append("province", getProvince())
                .append("city", getCity())
                .append("district", getDistrict())
                .append("street", getStreet())
                .append("address", getAddress())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("version", getVersion())
                .append("remark", getRemark())
                .append("sysAccount", getSysAccount())
                .toString();
    }
}